package com.jinwei.configserver;


import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.config.server.EnableConfigServer;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;

@SpringBootApplication
@EnableConfigServer  //启用配置服务
@EnableEurekaClient
public class ConfigServerApplication {

    public static void main(String[] args) {

        System.out.println("Config serve 启动中。。。。。。。。。");
        SpringApplication.run(ConfigServerApplication.class, args);

    }

}
